package com.wopinla.service.impl;

import com.wopinla.dao.TypeDao;
import com.wopinla.dao.UserDao;
import com.wopinla.pojo.user;
import com.wopinla.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service   //添加注解
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;

    @Override
    public user findUserById(int uid) {
        return userDao.findUserById(uid);
    }
}
